package com.hyr.spring_axon.account.event;

public class AccountDepositedEvent {

    private String accountId;
    private Double amount;

    public AccountDepositedEvent() {
    }

    public AccountDepositedEvent(String accountId,Double amount) {
        this.accountId = accountId;
        this.amount = amount;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }
}
